// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/cosmetic/vue-cosmetic/node_modules/.pnpm/vite@5.3.1_@types+node@20.14.2_sass@1.77.5/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/cosmetic/vue-cosmetic/node_modules/.pnpm/@vitejs+plugin-vue@5.0.5_vite@5.3.1_@types+node@20.14.2_sass@1.77.5__vue@3.4.29_typescript@5.4.5_/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import VueDevTools from "file:///D:/cosmetic/vue-cosmetic/node_modules/.pnpm/vite-plugin-vue-devtools@7.3.0_rollup@4.18.0_vite@5.3.1_@types+node@20.14.2_sass@1.77.5__vue@3.4.29_typescript@5.4.5_/node_modules/vite-plugin-vue-devtools/dist/vite.mjs";
import Unocss from "file:///D:/cosmetic/vue-cosmetic/node_modules/.pnpm/unocss@0.61.0_postcss@8.4.38_rollup@4.18.0_vite@5.3.1_@types+node@20.14.2_sass@1.77.5_/node_modules/unocss/dist/vite.mjs";
import { presetIcons, presetUno, presetAttributify } from "file:///D:/cosmetic/vue-cosmetic/node_modules/.pnpm/unocss@0.61.0_postcss@8.4.38_rollup@4.18.0_vite@5.3.1_@types+node@20.14.2_sass@1.77.5_/node_modules/unocss/dist/index.mjs";
import AutoImport from "file:///D:/cosmetic/vue-cosmetic/node_modules/.pnpm/unplugin-auto-import@0.17.6_rollup@4.18.0/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/cosmetic/vue-cosmetic/node_modules/.pnpm/unplugin-vue-components@0.27.0_@babel+parser@7.24.7_rollup@4.18.0_vue@3.4.29_typescript@5.4.5_/node_modules/unplugin-vue-components/dist/vite.js";
import { ArcoResolver } from "file:///D:/cosmetic/vue-cosmetic/node_modules/.pnpm/unplugin-vue-components@0.27.0_@babel+parser@7.24.7_rollup@4.18.0_vue@3.4.29_typescript@5.4.5_/node_modules/unplugin-vue-components/dist/resolvers.js";
var __vite_injected_original_import_meta_url = "file:///D:/cosmetic/vue-cosmetic/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    VueDevTools(),
    Unocss({
      presets: [presetIcons(), presetAttributify(), presetUno()],
      rules: [
        [
          "container",
          {
            margin: "0 auto",
            width: "1280px"
          }
        ]
      ],
      theme: {
        colors: {
          primary: "#76a5af",
          error: "#CF0A2C",
          warning: "#FF6A00",
          info: "#f5f5f5"
        }
      }
    }),
    AutoImport({
      resolvers: [ArcoResolver()]
    }),
    Components({
      resolvers: [
        ArcoResolver({
          sideEffect: true
        })
      ]
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    proxy: {
      "/api": {
        target: "http://localhost:3000/api",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxjb3NtZXRpY1xcXFx2dWUtY29zbWV0aWNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XFxcXGNvc21ldGljXFxcXHZ1ZS1jb3NtZXRpY1xcXFx2aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vRDovY29zbWV0aWMvdnVlLWNvc21ldGljL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZmlsZVVSTFRvUGF0aCwgVVJMIH0gZnJvbSAnbm9kZTp1cmwnXHJcbmltcG9ydCB7IGRlZmluZUNvbmZpZyB9IGZyb20gJ3ZpdGUnXHJcbmltcG9ydCB2dWUgZ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